package com.BigData.app.web;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.BigData.app.bean.novel;
import com.BigData.app.service.StudentService;


@RestController
public class StudentController {

	@Autowired
	private StudentService std;


	@RequestMapping("student/score")
	public List<HashMap<String,Object>>  student(String term) {
		
		return std.getScore(term);
	}

}
